import { defineComponent } from "vue";

import Modeler from "./components/modeler/modeler.jsx"
import Panel from "./components/panel"
import "./index.css";

export default defineComponent({
  name: "BpmnView",
  props: {
    xml: {
      type: String,
      default: ''
    }
  },
  setup (props) {
    return () => (
      <div class="bpmn-view">
        <Modeler xml={props.xml}/>
        <Panel/>
      </div>
    )
  }
})